GutterLines.getLineYrange

Gets the Y range for a line based on @mode.

The value for @y is relative to the renderers widget coordinates.

class GutterLines
void
getLineYrange

Parameters

line uint

a line number starting from zero

mode GtkSourceGutterRendererAlignmentMode

a #GtkSourceGutterRendererAlignmentMode

y int

a location for the Y position in widget coordinates

height int

the line height based on @mode

Meta